<template>
  <div class="index">
    <Index-Header />
    <div
      class=" width__50 margin_0_auto margin_top_32 text_align_center font_size_16 color_0eb826 box_shadow_ccc padding_top_8 padding_bottom_8 border_radius_32"
    >
      <i class="icon iconfont icon-changjing1 margin_right_8 " />默认
    </div>
    <Index-On-Off
      class="margin_top_32"
      @onEmit="onEmitFn"
      @offEmit="offEmitFn"
    />
    <p class="position_absolute bottom_0 left_0 width__100 text_align_center">
      <i
        class="icon iconfont icon-shangjiantou font_size_32 color_fa6060"
        @click="popupBtn(true)"
      />
    </p>
    <van-popup
      close-icon="close"
      position="bottom"
      v-model="popupObj.show"
      :overlay="popupObj.overlay"
    >
      <IndexBtns @popupEmit="popupEmitFn" />
    </van-popup>
  </div>
</template>
<script src="./Index.js" />
